Sync scheduler schedule from runtime target#180
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 80b6c1ff36
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| runtime_target = json.loads(raw_runtime_target) | ||
| except json.JSONDecodeError: | ||
| runtime_target = {} | ||
| scheduler = runtime_target.get("scheduler") if isinstance(runtime_target, dict) else {} |
There was a problem hiding this comment.
Read scheduler plans from execution_windows
When the selected runtime target carries scheduler data through the pinned quant_platform_kit.common.runtime_target.RuntimeTarget, to_dict() serializes it under execution_windows, not scheduler. In any deployment that sets schedules via build_runtime_target(execution_windows=...), this lookup leaves runtime_scheduler empty and the workflow silently falls back to the legacy CLOUD_SCHEDULER_*_TIME values, so the new runtime-target schedule sync never applies.
Useful? React with 👍 / 👎.
Summary
Tests